package com.jms.fu.model.bo;

import com.jms.fu.exception.DAOException;
import com.jms.fu.model.dao.AppDownDAO;

public class AppDownBO {
	AppDownDAO appdowndao = null;
	public void addAppToUsername(String username,int appid,String downVersion) throws DAOException{
		appdowndao = new AppDownDAO();
		appdowndao.addAppToUsername(username, appid, downVersion);
	}
	public boolean checkAppOwnByUsername(String username,int appid) throws DAOException{
		appdowndao = new AppDownDAO();
		return appdowndao.checkAppOwnByUsername(username, appid);
	}
}
